<?php
/**
 * Created by PhpStorm.
 * User: junyv
 * Date: 2017/3/31
 * Time: 11:52
 */

namespace app\home\controller;


class Api extends \think\Controller
{
    public function map(){
        $model = input('param.model');
        $id    = input('param.id/d',0);
        $lat   = input('param.lat');
        $lng   = input('param.lng');
        $this->assign('lat',$lat);
        $this->assign('lng',$lng);
        return $this->fetch($model.'_map');
    }
}